package com.yoso.autowired;

import cn.hutool.core.collection.CollUtil;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shizejin
 * @date 2022/3/22
 * @description:
 */
@Service
public class Son2 implements Father{
    @Override
    public List<Info> infoList() {
        List<Info> infos = CollUtil.newArrayList();
        Info info = new Info();
        info.setAge(5);
        info.setName("son2");
        infos.add(info);
        return infos;
    }
}
